GBML manual / Constants

SHAPE_FULL

The ordinary, full square: every one of its 64 pixels is solid. What every collision square is until it is given a slope.

Syntax

SHAPE_FULL: constant

Description

The ordinary, full square: all 64 pixels of the collision square are solid. It is the number 0 and what every square is until you give it a slope. tile_shape answers it for an ordinary square, and tile_set_shape with it turns a slope back into a full square.

########
########
########
########
########
########
########
########

Example

tile_set_shape(x, y + 8, SHAPE_FULL);

Makes the square just under the walker an ordinary full square again.

See also: tile_shapetile_set_shapeSlopesSHAPE_45_FLOOR_UP_RIGHT